<?php
$FMPDGBo;
include './meihe/common.php';
$act = isset($_GET['act']) ? daddslashes($_GET['act']) : null;
switch ($act) {
	case 'meihe':
		$result = array('code' => 0, 'yxts' => $yxts, 'count1' => $count1, 'count2' => $count2, 'meihefh' => $meihefh, 'jrkthy' => $jrkthy, 'scjr' => $scjr, 'vipyum' => $vipyum, 'duanljk' => $duanljk, 'fwjr' => $fwjr, 'ymzs' => $ymzs, 'fwjl' => $fwjl, 'sczs' => $sczs, 'hbmd' => $hbmd, 'hmd' => $hmd, 'count3' => $count3, 'count4' => $count4, 'count5' => round($count5, 0x0002), 'count6' => $count6, 'fjyum' => $fjyum, 'count7' => $count7, 'count8' => round($count8, 0x0002), 'count9' => round($count9, 0x0002), 'count10' => round($count10, 0x0002), 'count11' => round($count11, 0x0002), 'count12' => round($count12, 0x0002), 'count13' => round($count13, 0x0002), 'count14' => round($count14, 0x0002), 'chart' => getDatePoint());
		exit(json_encode($result));
		goto VeESuTm1T7;
	case 'dlapi':
		$hh_duan = mysqli_fetch_all($DB->query('SELECT name,sbm FROM meihe_api where jktz=1 '));
		echo json_encode(array('data' => $hh_duan));
		goto VeESuTm1T7;
	case 'cxdqsj':
		goto B72Bm0r5Sl;
		ZUy9_tG2xE:
		YfZ1zmwMJt:
		$result = array('code' => 0, 'msg' => '查询域名：' . $url . '</br>查询结果：<font color="green">正版会员</font></br>会员状态：' . $active . '</br>是否泛会员：' . $fhy . '</br>开通时间：' . $row['date'] . '</br>到期时间：' . $row['endtime']);
		CxyKywVoi2:
		goto NkKnSqx77x;
		XtzaN3uJDN:
		goto agKzONy0rY;
		B72Bm0r5Sl:
		goto RqzDDOeW0f;
		RqzDDOeW0f:
		$url = addslashes($_POST['url']);
		if ($url) {
			goto y8HrhbM1WM;
		}
		goto N3NbDPgM6F;
		goto vBZCkwn0X7;
		agKzONy0rY:
		goto IPI1tYLWQV;
		IPI1tYLWQV:
		$result = array('code' => -0x001, 'msg' => '域名格式疑似不正确');
		NkKnSqx77x:
		goto XQc5EK_7zn;
		goto GsjjXSdxRM;
		U5OFbDPPl8:
		goto CxyKywVoi2;
		uzLjE_oWhF:
		if (!($row['type'] == 0x001)) {
			goto FlS_bhZ09q;
		}
		goto FlA6eU5Y33;
		FlS_bhZ09q:
		goto VMFt0stXKp;
		VMFt0stXKp:
		goto mXB3i4b6ZV;
		UezYY4PjHV:
		goto l8zMSCWk6Y;
		GsjjXSdxRM:
		GDRgtISbma:
		$result = array('code' => -0x001, 'msg' => '域名无需输入http://');
		goto kg8HgSBWY1;
		S1IX1NPKji:
		exit(json_encode($result));
		goto lw0vvNtotL;
		OGaBEQEhZQ:
		N3NbDPgM6F:
		$result = array('code' => -0x001, 'msg' => '请输入查询的域名！');
		GqhU1LE9oI:
		goto S1IX1NPKji;
		QYze_3QTfz:
		goto Kj32oLXjO5;
		jlkBUqd3_m:
		I8dRBSeoVh:
		$fhy = '<font color="green">否</font>';
		goto aNXeyfRYkD;
		mXB3i4b6ZV:
		$active = '<font color="red">封禁(无法正常使用)</font>';
		goto pgkFvEwH4f;
		lw0vvNtotL:
		goto VeESuTm1T7;
		goto UezYY4PjHV;
		kg8HgSBWY1:
		XQc5EK_7zn:
		goto GqhU1LE9oI;
		goto OGaBEQEhZQ;
		gTPmuHyweZ:
		goto XtzaN3uJDN;
		dW2zv7tiwT:
		$row = $DB->get_row("\123\x45\x4c\105\103\124\40\52\x20\106\x52\117\115\x20\x6d\x65\x69\150\x65\137\x6c\x69\163\x74\x20\127\x48\x45\x52\105\x20\x64\157\x6d\141\x69\156\75\x27{$url}\x27\40\154\151\x6d\x69\x74\40\61");
		goto CrEwT9gfPt;
		aNXeyfRYkD:
		goto ZUy9_tG2xE;
		pgkFvEwH4f:
		goto zZbjrWf5fK;
		FlA6eU5Y33:
		$active = '<font color="green">激活(可以正常使用)</font>';
		zZbjrWf5fK:
		goto QYze_3QTfz;
		goto QCROS4BmPE;
		QCROS4BmPE:
		CrEwT9gfPt:
		if (!$row) {
			goto Qz_c0F2Pu5;
		}
		goto uzLjE_oWhF;
		Qz_c0F2Pu5:
		$result = array('code' => -0x001, 'msg' => '查询域名：' . $url . '</br>查询结果：<font color="red">还未开通会员！</font>');
		goto U5OFbDPPl8;
		Kj32oLXjO5:
		if (!($row['fhy'] == 0x001)) {
			goto BnMp1cfdPP;
		}
		goto I8dRBSeoVh;
		BnMp1cfdPP:
		$fhy = '<font color="red">是</font>';
		goto YfZ1zmwMJt;
		goto jlkBUqd3_m;
		vBZCkwn0X7:
		y8HrhbM1WM:
		if (!strexists($url, 'http://')) {
			goto Jt6OWBxT6C;
		}
		goto GDRgtISbma;
		Jt6OWBxT6C:
		if (strexists($url, '.')) {
			goto dW2zv7tiwT;
		}
		goto gTPmuHyweZ;
		l8zMSCWk6Y:
	case 'image_workorder':
		goto JeehnMmFt3;
		xE2g3_7Peo:
		$data = array();
		foreach ($picurl as $image) {
			$data[] = array('alt' => '工单ID：' . $row['id'] . '图' . $i++, 'pid' => $ii++, 'src' => $image, 'thumb' => $image);
			tSWUTGJmpb:
			Z4HSYmanub:
		}
		O1IwKQE3uX:
		goto LUPGQD3WdX;
		a4T1cMUXkl:
		goto bnY2UBZdBv;
		nQRqQlx2qD:
		exit('{"code":-1,"msg":"该工单记录不存在！"}');
		XLL02IXe0z:
		goto tJc4nFgFYL;
		LUPGQD3WdX:
		qwGfsXfX1x:
		goto cHfouyYAkQ;
		JeehnMmFt3:
		goto a4T1cMUXkl;
		tJc4nFgFYL:
		$picurl = explode(',', $row['picurl']);
		$i = 0x001;
		$ii = 0x001;
		goto xE2g3_7Peo;
		bnY2UBZdBv:
		$id = intval($_GET['id']);
		$row = $DB->get_row("\123\x45\x4c\x45\x43\124\x20\x2a\x20\106\122\x4f\x4d\40\x6d\x65\151\150\145\x5f\x77\157\x72\x6b\157\x72\x64\x65\162\40\x57\110\x45\x52\105\x20\x69\x64\x3d\47{$id}\x27\40\154\151\x6d\x69\164\40\x31");
		if (!$row) {
			goto gto26nIRC3;
		}
		goto XLL02IXe0z;
		gto26nIRC3:
		goto nQRqQlx2qD;
		cHfouyYAkQ:
		$result = array('title' => '工单ID：' . $row['id'], 'id' => $id, 'start' => 0, 'data' => $data);
		exit(json_encode($result));
		goto VeESuTm1T7;
		goto aoLQUvSCo0;
		aoLQUvSCo0:
		goto etFyLPTL7v;
		etFyLPTL7v:
	case 'hyapi':
		goto WyvRNfBP91;
		VnrtTLdbVC:
		goto uVtQ2bUKS6;
		jeiCI7xFYG:
		goto MKZ8RfGUu2;
		IFkvkXy18B:
		exit('{"code":-1,"msg":"开通时间不能为空"}');
		goto Tj21T16yGc;
		zQQU1f4s6L:
		if (!$row) {
			goto X1zKh9X332;
		}
		goto DmP3nczLyj;
		X1zKh9X332:
		if ($syskey) {
			goto MBbEdBWAPY;
		}
		goto vrYtwcUaID;
		goto fqTC1ICne3;
		gxNa82FbO1:
		$type = daddslashes($_POST['type']);
		goto KQJkqWq1w1;
		tzXlZ8mIa2:
		exit('{"code":1,"msg":"恭喜您,开通会员成功！"}');
		sUfOy_YlGH:
		goto dIujzEDGaZ;
		fqTC1ICne3:
		MBbEdBWAPY:
		if ($dq) {
			goto cQ5g_3cQgd;
		}
		goto IFkvkXy18B;
		cQ5g_3cQgd:
		if (!($syskey !== $conf['hh2_key'])) {
			goto No_YRSm7KR;
		}
		goto cejay_rl3S;
		RS_jQKBI9m:
		wusRSo72v8:
		goto VeESuTm1T7;
		goto TxbO5mV0WS;
		B_du7Zzeii:
		if ($dq == 0x0000063) {
			goto w4gTCOHXO8;
		}
		goto JLXYCerUyW;
		S2JjYcgHcG:
		goto oxx5sNBge1;
		wirNsYOYE1:
		goto B_du7Zzeii;
		KUl_terVr6:
		oxx5sNBge1:
		goto Za3QpsTiXK;
		HQJjtr1gtc:
		beK1YI95sA:
		if (!($dq == 0x001)) {
			goto DlPrGUUS_l;
		}
		goto S1piqk3MIm;
		DlPrGUUS_l:
		if (!($dq == 0)) {
			goto wirNsYOYE1;
		}
		goto S2JjYcgHcG;
		ku0B58i7ct:
		goto Hv0fYl30iP;
		C0v4YjEbuo:
		exit('{"code":-1,"msg":"接口密钥不正确"}');
		Hv0fYl30iP:
		goto jeiCI7xFYG;
		goto Drliygbccm;
		F9O_K5jBo1:
		goto GOrGauaML6;
		tjETHKcLqY:
		exit('{"code":-1,"msg":"开通VIP失败！' . $DB->{'error'}() . '"}');
		goto sUfOy_YlGH;
		GOrGauaML6:
		goto cUb1y12GU5;
		flgQce6wbu:
		oIv6wcWSft:
		goto fkrhMBoW2a;
		FK3ppDI2mj:
		$endtime = date('Y-m-d', strtotime('+ 1 years'));
		fkrhMBoW2a:
		goto Ltk_CAcVWD;
		Za3QpsTiXK:
		$endtime = date('Y-m-d', strtotime('+ 1 days'));
		xfNb5UsfkY:
		goto LBKX1V1Z8I;
		S1piqk3MIm:
		goto Biuy2jzbg6;
		goto zwLuIGX1Wk;
		cUb1y12GU5:
		goto tzXlZ8mIa2;
		TxbO5mV0WS:
		goto CapH1_keSs;
		Y6wI45_ZcZ:
		$sql = 'insert into `meihe_list` (`domain`,`date`,`type`,`endtime`,`qq`,`fhy`) values (\'' . $domain . '\',\'' . $date . '\',\'1\',\'' . $endtime . '\',\'' . $qq . '\',\'' . $conf['fhyyum'] . '\')';
		if (!($hmd['type'] == 0x0002)) {
			goto R_ZGwDQOCM;
		}
		goto Xt81cMByKn;
		R_ZGwDQOCM:
		if (!($row['type'] == 0x0002)) {
			goto OgSasFrAfB;
		}
		goto ehnVfMg6op;
		dIujzEDGaZ:
		goto DiIudcEv6y;
		qxabLKmO5i:
		exit('{"code":2,"msg":"请输入正确的QQ号！"}');
		goto AcCEwtQriZ;
		D597mnVWBE:
		goto flgQce6wbu;
		ehnVfMg6op:
		goto ZO8OPgANl_;
		OgSasFrAfB:
		goto rlCuGkXiFS;
		KQJkqWq1w1:
		$syskey = isset($_GET['key']) ? $_GET['key'] : $_POST['key'];
		goto ypT8ivKtjF;
		Ltk_CAcVWD:
		goto unm6Fk8OcS;
		rlCuGkXiFS:
		if (strexists($domain, '.')) {
			goto quf7lFhcCh;
		}
		goto Eeow2VXwgm;
		quf7lFhcCh:
		goto zQQU1f4s6L;
		r9G1gW5MSz:
		goto xfNb5UsfkY;
		goto KUl_terVr6;
		uVtQ2bUKS6:
		JlvBXEkGDY:
		goto O3ZwfDZyq0;
		goto p1CQDX48FH;
		X8UiBDxOlY:
		UDaAmBZBO6:
		vrYtwcUaID:
		exit('{"code":-1,"msg":"接口密钥不能为空"}');
		iktcVR1bxV:
		goto Qq5LlJ81S4;
		goto ATEIWlV4Hz;
		p1CQDX48FH:
		ZO8OPgANl_:
		exit('当前域名被封禁,请联系管理员！');
		O3ZwfDZyq0:
		goto tLXiGsLzOD;
		AFcv2YzXa0:
		goto FLLU5241GE;
		ATEIWlV4Hz:
		DmP3nczLyj:
		goto AFcv2YzXa0;
		unm6Fk8OcS:
		$row = $DB->get_row("\x53\105\x4c\x45\x43\x54\x20\52\x20\x46\122\x4f\x4d\40\155\145\151\x68\x65\137\x6c\151\163\164\40\127\110\x45\x52\x45\x20\x64\157\155\x61\x69\156\75\x27{$domain}\47\x20\x6c\151\x6d\x69\x74\40\x31");
		$hmd = $DB->get_row("\x53\105\114\x45\x43\124\40\x2a\40\x46\x52\117\115\x20\155\x65\x69\x68\145\137\150\142\x6d\x64\40\x57\110\105\x52\105\x20\144\157\x6d\141\151\x6e\75\47{$domain}\47\x20\x6c\x69\155\151\x74\x20\x31");
		goto Y6wI45_ZcZ;
		zwLuIGX1Wk:
		hEniWRkQAU:
		$dq = isset($_GET['dq']) ? $_GET['dq'] : $_POST['dq'];
		$endtime = daddslashes($_POST['endtime']);
		$domain = daddslashes($_GET['domain']);
		$qq = daddslashes($_GET['qq']);
		goto gxNa82FbO1;
		Tj21T16yGc:
		MKZ8RfGUu2:
		goto iktcVR1bxV;
		goto UDaAmBZBO6;
		Biuy2jzbg6:
		$endtime = date('Y-m-d', strtotime('+ 1 months'));
		goto iiUyhSXE72;
		FLLU5241GE:
		exit('{"code":2,"msg":"当前域名已存在无法重复开通！"}');
		Qq5LlJ81S4:
		goto JlvBXEkGDY;
		Eeow2VXwgm:
		exit('{"code":2,"msg":"请您输入正确的域名！"}');
		goto VnrtTLdbVC;
		WyvRNfBP91:
		goto hEniWRkQAU;
		tLXiGsLzOD:
		goto wusRSo72v8;
		Xt81cMByKn:
		exit('当前域名为黑名单，无法开通VIP会员！');
		goto RS_jQKBI9m;
		ypT8ivKtjF:
		if (!($dq == 0x000c)) {
			goto vYiy4T6_Ja;
		}
		goto FK3ppDI2mj;
		vYiy4T6_Ja:
		if (!($dq == 0x00003)) {
			goto beK1YI95sA;
		}
		goto TrJVeDZf8q;
		goto HQJjtr1gtc;
		Drliygbccm:
		VSvbLxIXO1:
		if (!(strlen($qq) > 0x000c || !is_numeric($qq) || strlen($qq) < 0x05 || !preg_match('/^[0-9]+$/', $qq))) {
			goto FoRX0i_ZSc;
		}
		goto qxabLKmO5i;
		FoRX0i_ZSc:
		if (!$DB->query($sql)) {
			goto tjETHKcLqY;
		}
		goto F9O_K5jBo1;
		JLXYCerUyW:
		goto e2rHh6X831;
		w4gTCOHXO8:
		$ffktrq = 0 > 0 ? 0 : 0x000c;
		$endtime = date('Y-m-d H:i:s', strtotime("\53\40{$ffktrq}\40\x6d\157\x6e\x74\150\x73", time()));
		e2rHh6X831:
		goto r9G1gW5MSz;
		cejay_rl3S:
		goto C0v4YjEbuo;
		No_YRSm7KR:
		goto VSvbLxIXO1;
		AcCEwtQriZ:
		DiIudcEv6y:
		goto ku0B58i7ct;
		iiUyhSXE72:
		LBKX1V1Z8I:
		goto oIv6wcWSft;
		TrJVeDZf8q:
		$endtime = date('Y-m-d', strtotime('+ 3 months'));
		goto D597mnVWBE;
		goto X8UiBDxOlY;
		CapH1_keSs:
	case 'bmdapi':
		goto BUlvR1ASEH;
		m7w7oY5sqE:
		ECv38OPdvV:
		goto CG0w1PrOFz;
		eWVToUoIU7:
		exit('{"code":-1,"msg":"接口密钥不能为空"}');
		CG0w1PrOFz:
		goto IV92M03utO;
		e1MTsB91m4:
		$type = daddslashes($_POST['type']);
		$syskey = isset($_GET['key']) ? $_GET['key'] : $_POST['key'];
		$row = $DB->get_row("\123\x45\114\105\x43\124\x20\x2a\x20\x46\x52\117\x4d\x20\x6d\x65\x69\150\145\137\x68\x62\x6d\x64\x20\127\110\x45\122\x45\40\144\x6f\x6d\x61\x69\x6e\75\x27{$domain}\47\x20\154\151\x6d\x69\x74\x20\x31");
		if (!($row['type'] == 0x00003)) {
			goto MpbmUi15Hy;
		}
		goto VEj6JPKCyf;
		goto gDqQtCetUO;
		cIXHPV0Lhy:
		AKBkoQBKmJ:
		if (!($row['type'] == 0x0002)) {
			goto rPtxXTHbrD;
		}
		goto tAwzfdx_IB;
		rPtxXTHbrD:
		if (strexists($domain, '.')) {
			goto JGlBO8Rz0M;
		}
		goto KKrXay6377;
		BUlvR1ASEH:
		goto Ct_BdRgIOa;
		cnv59szX3W:
		HyMKqzFx3O:
		goto VeESuTm1T7;
		goto r253eNRin_;
		goto cIXHPV0Lhy;
		mR4KzPt5A5:
		if ($syskey) {
			goto MuDDJjMhN2;
		}
		goto eWVToUoIU7;
		MuDDJjMhN2:
		if (!($syskey !== $conf['hh4_key'])) {
			goto HW6UiPYD1L;
		}
		goto DmdhuzEhW1;
		goto TNC4rzC1aG;
		KKrXay6377:
		goto Geejvy9c65;
		JGlBO8Rz0M:
		if (!$row) {
			goto jDAkVTz_6C;
		}
		goto ctcuLzX8fA;
		jDAkVTz_6C:
		goto mR4KzPt5A5;
		Z5zrZXD95l:
		goto F1kp2FGZAD;
		tAwzfdx_IB:
		goto GD2aqi2OB8;
		Ct_BdRgIOa:
		$domain = isset($_POST['domain']) ? daddslashes($_POST['domain']) : $_GET['domain'];
		goto e1MTsB91m4;
		gDqQtCetUO:
		MpbmUi15Hy:
		goto AKBkoQBKmJ;
		GD2aqi2OB8:
		exit('当前域名为黑名单！');
		F1kp2FGZAD:
		goto jPf0khpKaB;
		jPf0khpKaB:
		goto HyMKqzFx3O;
		VEj6JPKCyf:
		exit('域名已存在无法重复添加！');
		goto cnv59szX3W;
		PFsyW_fxbv:
		goto jhXckex9WD;
		IV92M03utO:
		goto jEmYupiRwO;
		o0djcW_x9i:
		Geejvy9c65:
		exit('{"code":2,"msg":"请您输入正确的域名！"}');
		Xc8rIbjLHh:
		goto Z5zrZXD95l;
		h0CE5wV_az:
		goto L41B4bNZSx;
		r253eNRin_:
		goto DqMk57IC1U;
		hBImQk7vXm:
		exit('{"code":2,"msg":"当前域名已存在无法重复开通！"}');
		aH4MUHYNem:
		goto Xc8rIbjLHh;
		goto o0djcW_x9i;
		L41B4bNZSx:
		goto m7w7oY5sqE;
		TNC4rzC1aG:
		HW6UiPYD1L:
		goto PFsyW_fxbv;
		jEmYupiRwO:
		goto aH4MUHYNem;
		ctcuLzX8fA:
		goto hBImQk7vXm;
		jhXckex9WD:
		$DB->query('insert into `meihe_hbmd` (`domain`,`date`,`type`,`fwcsxx`,`bmdgg`,`hmdyy`) values (\'' . $domain . '\',\'' . $date . '\',\'3\',\'' . $conf['bxfwcs'] . '\',\'' . $conf['bmdgbgg'] . '\',\'' . $hmdyy . '\')');
		exit('{"code":1,"msg":"恭喜您,添加白名单成功！"}');
		goto ECv38OPdvV;
		DmdhuzEhW1:
		exit('{"code":-1,"msg":"接口密钥不正确"}');
		goto h0CE5wV_az;
		DqMk57IC1U:
	case 'vippay':
		goto zgvGOfbvoy;
		bXDTxvsFEK:
		$trade_no = date('YmdHis') . rand(0x006f, 0x000003e7);
		$vipym2 = $DB->get_row("\123\x45\114\x45\x43\x54\40\52\40\106\x52\117\115\x20\x6d\x65\x69\150\145\137\154\x69\163\164\40\127\x48\x45\x52\105\40\x64\157\x6d\141\x69\x6e\75\x27{$domain}\x27\40\x6c\151\x6d\151\164\x20\x31");
		$hmd = $DB->get_row("\x53\x45\114\x45\103\124\x20\52\x20\106\122\117\x4d\40\155\145\x69\150\145\137\x68\x62\x6d\x64\x20\127\x48\x45\122\105\40\144\x6f\x6d\x61\x69\x6e\75\x27{$domain}\x27\40\154\151\155\151\x74\x20\x31");
		goto HoAuoJzJXf;
		Moq5VxoOT9:
		goto Nw2QDXp7Sp;
		Tw4ggouPu3:
		goto VIrojOfxpb;
		X02ZsgtPXS:
		if (!($ktrq == 0x001)) {
			goto EFC2_CY2ek;
		}
		goto oUGwj1vCND;
		EFC2_CY2ek:
		goto iZN8ohfgX0;
		foruJrrIDg:
		uxm3lV8oPt:
		if (!$DB->query($sql)) {
			goto D1TgMqBLvC;
		}
		goto qCccxRoDrE;
		D1TgMqBLvC:
		exit('{"code":-1,"msg":"开通VIP失败！' . $DB->{'error'}() . '"}');
		goto TWrRFzFq_a;
		zgvGOfbvoy:
		goto kn2plO7nTL;
		VAwB2Dq2E2:
		L8Q67MUb4F:
		goto P3DN4DQxrY;
		SMUiUFseyd:
		goto U68AUSTk0h;
		fav6X0vePH:
		$sql = 'insert into `meihe_pay` (`trade_no`,`tid`,`zid`,`input`,`num`,`name`,`money`,`ip`,`userid`,`addtime`,`status`) values (\'' . $trade_no . '\',\'-3\',\'1\',\'' . $input . '\',\'1\',\'' . $conf['spmc'] . '\',\'' . $money . '\',\'' . $clientip . '\',\'' . $cookiesid . '\',\'' . $date . '\',\'0\')';
		if (!$DB->query($sql)) {
			goto COcyEIxz9R;
		}
		goto FLDel7Rj7C;
		COcyEIxz9R:
		goto EHudvHl3Bd;
		goto foruJrrIDg;
		X2dbZ1puUU:
		wTzrHesxyu:
		if (!($ktrq == 0x00003)) {
			goto rNB_sZZGCE;
		}
		goto xVYnMS3V_b;
		rNB_sZZGCE:
		goto NAWKF3HEkh;
		goto aGh_VA5R4S;
		UtqI_FT_m5:
		goto OnO4oP639c;
		W88uiiSbvW:
		if (!preg_match('/^(http|ftp):\/\/[A-Za-z0-9]+\.[A-Za-z0-9]+[\/=\?%\-&_~`@[\]\’:+!]*([^<>\”])*$/', $domain)) {
			goto Fi5wl3OiMu;
		}
		goto s9chbU4d9j;
		Fi5wl3OiMu:
		goto QaQlXyXijH;
		iZN8ohfgX0:
		if ($ktrq == 0x05) {
			goto Y_3ubQ0A9z;
		}
		goto GYbuUTNX5A;
		Y_3ubQ0A9z:
		$money = $conf['viphy5'];
		GYbuUTNX5A:
		goto xGzsz8T9QW;
		CmR7xSwHTv:
		xVYnMS3V_b:
		goto JnsFbZ3aHc;
		EHudvHl3Bd:
		exit('{"code":-1,"msg":"提交订单失败！' . $DB->{'error'}() . '"}');
		goto c64MFhM13I;
		goto V3sZxY9Vt8;
		pBDc170twy:
		goto Hu8HkCh0_u;
		s9chbU4d9j:
		goto Wij_mxxIub;
		kn2plO7nTL:
		if ($conf['viphykt'] == 0x001) {
			goto Ozx1bgMx7W;
		}
		goto ndTdQMhNvw;
		Nw2QDXp7Sp:
		mfcmQxiTch:
		exit('{"code":2,"msg":"当前域名为黑名单无法开通！"}');
		Oh1qGZxnQK:
		if (!($ktrq == 0x000004)) {
			goto wTzrHesxyu;
		}
		goto jJRVI1jY6P;
		goto X2dbZ1puUU;
		TI0QWwlszb:
		if (!($hmd['type'] == 0x0002)) {
			goto kYfcgeaUm2;
		}
		goto mfcmQxiTch;
		kYfcgeaUm2:
		if (!$vipym2) {
			goto MBVEQQvmiR;
		}
		goto OleTT1xayb;
		goto nwrXs5XOoD;
		jkSXAkkLyJ:
		qdOXjC8WWy:
		$endtime = date('Y-m-d', strtotime('+ 1 months'));
		$sql = 'insert into `meihe_list` (`domain`,`date`,`type`,`endtime`,`qq`,`fhy`) values (\'' . $domain . '\',\'' . $date . '\',\'1\',\'' . $endtime . '\',\'' . $qq . '\',\'' . $conf['fhyyum'] . '\')';
		goto uxm3lV8oPt;
		HoAuoJzJXf:
		goto TI0QWwlszb;
		nwrXs5XOoD:
		MBVEQQvmiR:
		if (!($vipym2['type'] == 0x0002)) {
			goto DDnKDVRcYz;
		}
		goto SMUiUFseyd;
		DDnKDVRcYz:
		if (strexists($domain, '.')) {
			goto W88uiiSbvW;
		}
		goto UtqI_FT_m5;
		ptVEBlfVFW:
		Hu8HkCh0_u:
		goto L8Q67MUb4F;
		OnO4oP639c:
		exit('{"code":2,"msg":"请您输入正确的域名！"}');
		goto VAwB2Dq2E2;
		goto E5MSHBe4Ti;
		aGh_VA5R4S:
		Wn2pyqytK1:
		VIrojOfxpb:
		$money = $conf['viphy3'];
		xEkKLmb2Un:
		goto sl4FO1QE2g;
		goto CmR7xSwHTv;
		XakDUCejJO:
		$money = $conf['viphy'];
		goto B9DIvbVFPU;
		v0i1weFG4J:
		$qq = daddslashes($_POST['qq']);
		$ktrq = intval($_POST['ktrq']);
		goto bXDTxvsFEK;
		xGzsz8T9QW:
		goto wQmpXeEI6e;
		dgKLl8IiWV:
		goto yc_pNA0Hws;
		OleTT1xayb:
		exit('{"code":2,"msg":"当前域名已存在无法重复开通！"}');
		goto deqjuIqOvP;
		FZTT0o49ZW:
		a1l99iVkDN:
		goto xEkKLmb2Un;
		goto Wn2pyqytK1;
		NAWKF3HEkh:
		if (!($ktrq == 0x0002)) {
			goto X02ZsgtPXS;
		}
		goto Tw4ggouPu3;
		PFpseCXZW5:
		pu4jLKqGxs:
		F1wzZqBabH:
		goto VeESuTm1T7;
		goto cLtomuhAvU;
		dOUj7a5FIn:
		goto I0W73l4LUp;
		V2Yzk4E1kv:
		$endtime = daddslashes($_POST['endtime']);
		goto v0i1weFG4J;
		J9iasncbLl:
		c64MFhM13I:
		goto F1wzZqBabH;
		goto jkSXAkkLyJ;
		V3sZxY9Vt8:
		FLDel7Rj7C:
		$result = ['code' => 0, 'msg' => '提交订单成功！', 'trade_no' => $trade_no, 'money' => $money, 'pay_alipay' => $conf['alipay_api'], 'pay_wxpay' => $conf['wxpay_api'], 'pay_qqpay' => $conf['qqpay_api'], 'paymsg' => $conf['paymsg']];
		exit(json_encode($result));
		goto J9iasncbLl;
		B9DIvbVFPU:
		goto RtMh6AwdAz;
		QaQlXyXijH:
		goto dOUj7a5FIn;
		wQmpXeEI6e:
		goto a1l99iVkDN;
		oUGwj1vCND:
		$money = $conf['viphy2'];
		goto FZTT0o49ZW;
		ndTdQMhNvw:
		goto jD7QrW8PCN;
		Ozx1bgMx7W:
		exit('{"code":-1,"msg":"当前站点未开启自助开通会员！' . $DB->{'error'}() . '"}');
		jD7QrW8PCN:
		$domain = daddslashes($_POST['domain']);
		goto V2Yzk4E1kv;
		E5MSHBe4Ti:
		JnsFbZ3aHc:
		$money = $conf['viphy4'];
		sl4FO1QE2g:
		goto fndt0GRbmN;
		jJRVI1jY6P:
		goto XakDUCejJO;
		I0W73l4LUp:
		if (strlen($qq) > 0x000c || !is_numeric($qq) || strlen($qq) < 0x05 || !preg_match('/^[0-9]+$/', $qq)) {
			goto eTa0Z2eE1a;
		}
		goto HZrGcvNy88;
		eTa0Z2eE1a:
		exit('{"code":2,"msg":"请输入正确的QQ号！"}');
		HZrGcvNy88:
		goto pBDc170twy;
		U68AUSTk0h:
		exit('{"code":2,"msg":"当前域名已被封禁,无法开通！"}');
		P3DN4DQxrY:
		goto dgKLl8IiWV;
		Wij_mxxIub:
		exit('{"code":2,"msg":"域名无需输入http://格式"}');
		goto ptVEBlfVFW;
		RtMh6AwdAz:
		fndt0GRbmN:
		$input = $domain . '|' . $ktrq . '|' . $qq;
		if (!($money == 0)) {
			goto jdpaZVlbtE;
		}
		goto qdOXjC8WWy;
		jdpaZVlbtE:
		goto fav6X0vePH;
		TWrRFzFq_a:
		goto pu4jLKqGxs;
		qCccxRoDrE:
		exit('{"code":1,"msg":"恭喜您,开通会员成功！"}');
		goto Ili5ZpcLuC;
		Ili5ZpcLuC:
		goto PFpseCXZW5;
		deqjuIqOvP:
		yc_pNA0Hws:
		goto Oh1qGZxnQK;
		goto Moq5VxoOT9;
		cLtomuhAvU:
		goto Auzrfi_iBu;
		Auzrfi_iBu:
	case 'bmdpay':
		goto uARiXi_V5_;
		HPvqKp0R9R:
		goto pMI0DMb873;
		fLtH0vEJ5F:
		PK6RG48ufI:
		if ($conf['captcha_open'] == 0x001 && $conf['ywgmyz'] == 0x001) {
			goto dOk26NHfYf;
		}
		goto oKrnfAe8LY;
		goto GWvElspykV;
		GWvElspykV:
		dOk26NHfYf:
		include_once ROOT . 'assets/css/class.geetestlib.php';
		$GtSdk = new GeetestLib($conf['captcha_id'], $conf['captcha_key']);
		$cookiesid = $_COOKIE['mysid'];
		goto CEKqqEuSlq;
		goto fy1L007rNm;
		W41EZLph68:
		goto i_P0hcIzhe;
		WsNKRJR8J6:
		$bmdgg = daddslashes($_POST['bmdgg']);
		$fwcsxx = daddslashes($_POST['fwcsxx']);
		$trade_no = date('YmdHis') . rand(0x006f, 0x000003e7);
		goto Qgt9UhSZRY;
		yaEWKnur64:
		moYJOi_Dpb:
		goto RxI769hXZ3;
		i_P0hcIzhe:
		goto VeESuTm1T7;
		goto lLXmRXcIak;
		goto k_TKGMONmx;
		PfyGiEc8xX:
		if (!$GtSdk->{'fail_validate'}($_POST['geetest_challenge'], $_POST['geetest_validate'], $_POST['geetest_seccode'])) {
			goto shsPAMIX_V;
		}
		goto qPM238th9L;
		shsPAMIX_V:
		exit('{"code":-1,"msg":"验证失败，如重复生成 请重新验证！"}');
		qPM238th9L:
		goto A0pLKTEo5y;
		Qgt9UhSZRY:
		$money = $conf['bmdjg'];
		$input = $domain . '|' . $type;
		goto BxGM2YXww6;
		FAGNUbg8hT:
		if (preg_match('/^(http|ftp):\/\/[A-Za-z0-9]+\.[A-Za-z0-9]+[\/=\?%\-&_~`@[\]\’:+!]*([^<>\”])*$/', $domain)) {
			goto wZkS6OGf2S;
		}
		goto tkx45PmD6E;
		KKRyduXvLr:
		goto kF0R5VbS3d;
		gWQJdPJ83d:
		exit('{"code":1,"msg":"恭喜您,开通白名单成功！"}');
		kF0R5VbS3d:
		auXTLLOJMm:
		goto W41EZLph68;
		eE6g6Arp7N:
		exit('{"code":-1,"msg":"当前站点未开启自助开通白名单！' . $DB->{'error'}() . '"}');
		L0gU0wRoUV:
		$domain = daddslashes($_POST['domain']);
		$type = daddslashes($_POST['type']);
		goto WsNKRJR8J6;
		goto H9iInNlHiA;
		tpILzFYBFJ:
		goto fLtH0vEJ5F;
		wbj6MIibXq:
		if ($conf['bmdkt'] == 0x001) {
			goto pKGhQHeykp;
		}
		goto L0gU0wRoUV;
		pKGhQHeykp:
		goto eE6g6Arp7N;
		q_ahdimXN9:
		exit('{"code":2,"msg":"当前域名已存在无法重复开通！"}');
		goto keiufShy4Y;
		CEKqqEuSlq:
		$data = array('user_id' => $cookiesid, 'client_type' => 'web', 'ip_address' => real_ip());
		if ($conf['captcha_open'] == 0x001) {
			goto XOCKMsZh7X;
		}
		goto N9gZQ0D6Kg;
		k_TKGMONmx:
		BxGM2YXww6:
		$vipym2 = $DB->get_row("\123\105\114\105\103\x54\40\52\x20\106\x52\117\x4d\x20\155\x65\151\x68\x65\137\154\151\163\x74\x20\x57\x48\x45\122\105\40\144\157\155\x61\x69\x6e\x3d\x27{$domain}\47\x20\154\151\155\151\164\40\61");
		$hmd = $DB->get_row("\x53\x45\114\105\103\x54\x20\x2a\40\x46\122\x4f\x4d\40\x6d\x65\x69\x68\x65\x5f\x68\142\155\144\x20\127\x48\105\x52\105\40\x64\x6f\x6d\x61\151\156\75\x27{$domain}\47\40\154\151\155\x69\164\x20\x31");
		if (!($vipym2['type'] == 0x001)) {
			goto pJBfpssgjB;
		}
		goto dD_1IHtVFY;
		goto JypFALQBVW;
		UdGgfAQFtk:
		goto PK6RG48ufI;
		zW2h0mpLmO:
		$sql = 'insert into `meihe_pay` (`trade_no`,`tid`,`zid`,`input`,`num`,`name`,`money`,`ip`,`userid`,`addtime`,`status`) values (\'' . $trade_no . '\',\'-4\',\'1\',\'' . $input . '\',\'1\',\'' . $conf['spmc'] . '\',\'' . $money . '\',\'' . $clientip . '\',\'' . $cookiesid . '\',\'' . $date . '\',\'0\')';
		if (!$DB->query($sql)) {
			goto R0dlPVntWP;
		}
		goto tUbNiGaf03;
		goto VmTDTe9nC2;
		sNPEwuNUVB:
		goto gWQJdPJ83d;
		O9v53Q9IAG:
		exit('{"code":-1,"msg":"开通白名单失败！' . $DB->{'error'}() . '"}');
		goto CdfFAL5S7N;
		yMGgAfTXRK:
		goto JWySpGhLdL;
		H9iInNlHiA:
		lLXmRXcIak:
		goto ZLh79YJSXe;
		vemXS05e2H:
		goto W0GbIjFzhL;
		FZsfyN46T3:
		exit('{"code":-1,"msg":"验证失败，如重复生成 请重新验证！"}');
		W0GbIjFzhL:
		qlw2OTXx0_:
		goto HPvqKp0R9R;
		uARiXi_V5_:
		goto wbj6MIibXq;
		fjUnvP4_Ff:
		if (!($_SESSION['gtserver'] == 0x001)) {
			goto U4GeDkuLvD;
		}
		goto W3TgKseazg;
		U4GeDkuLvD:
		goto PfyGiEc8xX;
		AKpkg_YcDI:
		goto dNSfSunl9a;
		dD_1IHtVFY:
		exit('{"code":2,"msg":"当前域名为会员无法开通！"}');
		dNSfSunl9a:
		goto rdiOszeyLw;
		goto Tt0PZvxDy9;
		A0pLKTEo5y:
		goto qlw2OTXx0_;
		goto VBsMbDHVG2;
		VBsMbDHVG2:
		W3TgKseazg:
		if (!$GtSdk->{'success_validate'}($_POST['geetest_challenge'], $_POST['geetest_validate'], $_POST['geetest_seccode'], $data)) {
			goto FZsfyN46T3;
		}
		goto vemXS05e2H;
		tkx45PmD6E:
		goto H61PhKFUft;
		wZkS6OGf2S:
		exit('{"code":2,"msg":"域名无需输入http://格式"}');
		H61PhKFUft:
		goto lcysKTgBM8;
		goto yaEWKnur64;
		JypFALQBVW:
		pJBfpssgjB:
		if (!$hmd) {
			goto owQZluqtNO;
		}
		goto mSK1jF4psC;
		owQZluqtNO:
		if (strexists($domain, '.')) {
			goto OkmxxZR2IT;
		}
		goto KRP1CI1faJ;
		KRP1CI1faJ:
		goto moYJOi_Dpb;
		OkmxxZR2IT:
		goto FAGNUbg8hT;
		keiufShy4Y:
		B93d9eZgGW:
		goto AKpkg_YcDI;
		N9gZQ0D6Kg:
		goto WNpERpWvhM;
		XOCKMsZh7X:
		if (!$_POST['geetest_challenge'] && !$_POST['geetest_validate'] && !$_POST['geetest_seccode']) {
			goto RaYWV7tAZT;
		}
		goto UKk8VztyGv;
		RaYWV7tAZT:
		goto cQvtUrOf6Z;
		JWySpGhLdL:
		tUbNiGaf03:
		$result = ['code' => 0, 'msg' => '提交订单成功！', 'trade_no' => $trade_no, 'money' => $money, 'pay_alipay' => $conf['alipay_api'], 'pay_wxpay' => $conf['wxpay_api'], 'pay_qqpay' => $conf['qqpay_api'], 'paymsg' => $conf['paymsg']];
		exit(json_encode($result));
		Fkfo9BEnVD:
		goto auXTLLOJMm;
		goto tpILzFYBFJ;
		VmTDTe9nC2:
		R0dlPVntWP:
		exit('{"code":-1,"msg":"提交订单失败！' . $DB->{'error'}() . '"}');
		goto Fkfo9BEnVD;
		goto yMGgAfTXRK;
		CdfFAL5S7N:
		goto KKRyduXvLr;
		fy1L007rNm:
		RxI769hXZ3:
		exit('{"code":2,"msg":"请您输入正确的域名！"}');
		lcysKTgBM8:
		goto B93d9eZgGW;
		mSK1jF4psC:
		goto q_ahdimXN9;
		Tt0PZvxDy9:
		pMI0DMb873:
		WNpERpWvhM:
		oKrnfAe8LY:
		$sql = 'insert into `meihe_hbmd` (`domain`,`date`,`type`,`fwcsxx`,`bmdgg`,`hmdyy`) values (\'' . $domain . '\',\'' . $date . '\',\'3\',\'' . $conf['bxfwcs'] . '\',\'' . $conf['bmdgbgg'] . '\',\'' . $hmdyy . '\')';
		if (!$DB->query($sql)) {
			goto O9v53Q9IAG;
		}
		goto sNPEwuNUVB;
		cQvtUrOf6Z:
		exit('{"code":-1,"msg":"请先完成验证后再操作！"}');
		UKk8VztyGv:
		goto fjUnvP4_Ff;
		rdiOszeyLw:
		if (!($money == 0)) {
			goto zW2h0mpLmO;
		}
		goto UdGgfAQFtk;
		ZLh79YJSXe:
	case 'klapi':
		goto vpLrofO93o;
		bMCWGVARfb:
		goto cOUK2cjXYT;
		tKoGTRA_ND:
		goto ODzcGfZU9R;
		gFzxpJQYRj:
		iybLsa8G1V:
		exit('{"code":-1,"msg":"克隆密钥错误"}');
		JlMy3UFOgm:
		goto tWc5jYkjcC;
		tWc5jYkjcC:
		goto dMC7zXf02H;
		dMC7zXf02H:
		goto MkcpDkta5T;
		o4OJYt13yA:
		exit('{"code":-1,"msg":"克隆密钥不能为空"}');
		MkcpDkta5T:
		$hh_kl = $DB->query('SELECT * FROM meihe_api WHERE 1');
		goto bMCWGVARfb;
		vpLrofO93o:
		goto tisQiGqiSa;
		cOUK2cjXYT:
		foreach ($hh_kl as $res) {
			$data[] = array('sbm' => $res['sbm'], 'name' => $res['name'], 'apiurl' => $res['apiurl'], 'format' => $res['format'], 'fhzd' => $res['fhzd'], 'dljk' => $res['dljk'], 'duanl' => $res['duanl'], 'jktz' => $res['jktz']);
			WhDLHTF6la:
			InAoAq1XB7:
		}
		wgRbuCF2Hs:
		ITcHJX2udM:
		goto DtDwQqvmyG;
		DtDwQqvmyG:
		exit('{"code":1,"msg":"克隆执行成功","data":' . json_encode($data) . '}');
		goto VeESuTm1T7;
		goto tKoGTRA_ND;
		tisQiGqiSa:
		$syskey = isset($_GET['key']) ? $_GET['key'] : $_POST['key'];
		goto aM8NL1vbVq;
		aM8NL1vbVq:
		if ($syskey) {
			goto b_kY19slg2;
		}
		goto o4OJYt13yA;
		b_kY19slg2:
		if ($syskey !== $conf['hh_key']) {
			goto iybLsa8G1V;
		}
		goto JlMy3UFOgm;
		goto gFzxpJQYRj;
		ODzcGfZU9R:
	case 'cxsj':
		goto YdWy0S249w;
		YP2pUTNZHy:
		$value = $_GET['longurl'];
		TLDQ3ipuDt:
		if (isset($_POST['longurl'])) {
			goto d0b24qjTqJ;
		}
		goto IYNs26gai5;
		d0b24qjTqJ:
		goto ESJax31lWt;
		BGdrZ14cvT:
		goto iKL6eRCi9W;
		Lt3xiX6he0:
		exit('{"msg":"URL不能为空"}');
		goto WDFpS4tjKH;
		goto FdAYNFoweL;
		goto H7k196K9OU;
		hf3LbpmVXx:
		if (!(strpos($value, 'http') === !1)) {
			goto UM2_MQjW6s;
		}
		goto rs9g49M_mM;
		UM2_MQjW6s:
		$longurl = daddslashes($value);
		goto Ezfzdp74Q6;
		goto KGbOLV72x8;
		WlmLfWendj:
		$uvs = $DB->count("\x53\105\x4c\x45\103\124\x20\x63\x6f\x75\156\x74\50\x20\x44\111\123\124\111\x4e\x43\x54\x20\165\x73\145\x72\x5f\x61\147\x65\x6e\x74\x2c\x69\x70\x5f\x61\144\x64\x72\x65\x73\x73\x29\x20\40\x66\x72\x6f\x6d\x20\155\x65\x69\x68\145\x5f\154\x6f\x67\x20\127\110\x45\122\x45\40\x64\157\x6d\141\151\156\75\47{$domain}\47");
		$ips = $DB->count("\x53\x45\114\x45\x43\124\x20\143\x6f\165\156\164\x28\40\104\111\123\x54\111\116\x43\124\40\x69\x70\x5f\141\x64\x64\162\145\x73\163\x29\40\40\x66\162\x6f\x6d\40\x6d\145\x69\150\145\x5f\x6c\x6f\147\40\x57\x48\105\122\105\40\144\157\x6d\x61\151\x6e\75\47{$domain}\x27");
		goto LfFa9MmSIs;
		FdAYNFoweL:
		iKL6eRCi9W:
		goto hf3LbpmVXx;
		ESJax31lWt:
		goto r7vVfIDihi;
		N8WOodUWDM:
		$thtime = date('Y-m-d') . ' 00:00:00';
		$zgfw = $DB->count("\x53\x45\x4c\x45\103\124\x20\x63\x6f\x75\x6e\x74\x28\52\x29\x20\x66\162\157\155\40\155\145\x69\x68\x65\137\x6c\157\147\40\127\x48\105\122\x45\40\x64\157\x6d\141\151\x6e\75\x27{$domain}\47\x20");
		$jrfw = $DB->count("\x53\105\114\x45\103\x54\40\x63\157\165\156\164\x28\x2a\51\40\x66\162\x6f\x6d\40\x6d\x65\x69\x68\x65\137\x6c\x6f\147\x20\x77\x68\x65\162\x65\x20\144\x6f\155\141\x69\156\75\47{$domain}\47\x20\x61\x6e\144\x20\143\154\x69\x63\153\x5f\164\151\155\x65\x3e\75\x27{$thtime}\x27");
		goto WlmLfWendj;
		RsVgvxsrrn:
		goto iH8Pvnujwk;
		r7vVfIDihi:
		$value = $_POST['longurl'];
		IYNs26gai5:
		if (empty($value)) {
			goto Lt3xiX6he0;
		}
		goto BGdrZ14cvT;
		KGbOLV72x8:
		rs9g49M_mM:
		goto qCLzJd_zT2;
		qCLzJd_zT2:
		$longurl = 'http://' . daddslashes($value);
		Ezfzdp74Q6:
		goto dnN3kWPGEd;
		dnN3kWPGEd:
		WDFpS4tjKH:
		$url_arr = parse_url($longurl);
		$domain = $url_arr['host'];
		goto N8WOodUWDM;
		iH8Pvnujwk:
		goto vxs0FhPa3w;
		H7k196K9OU:
		dVIj4KmkyE:
		$value = NULL;
		if (isset($_GET['longurl'])) {
			goto k_g0cu1azd;
		}
		goto TLDQ3ipuDt;
		k_g0cu1azd:
		goto YP2pUTNZHy;
		YdWy0S249w:
		goto dVIj4KmkyE;
		LfFa9MmSIs:
		$result = array('code' => 0, 'msg' => '查询域名：' . $domain . '<hr>今日访问：' . $jrfw . ' 次<hr>总共访问：' . $zgfw . ' 次<hr>UV数量：' . $uvs . ' 个<hr>IP数量：' . $ips . ' 个');
		exit(json_encode($result));
		goto VeESuTm1T7;
		goto RsVgvxsrrn;
		vxs0FhPa3w:
	case 'fangh':
		goto QnHAojbVPB;
		klXUfIa_3k:
		w32Hwxclu1:
		if ($row) {
			goto hd7HzWLtYo;
		}
		goto Es7ANPXcdJ;
		hd7HzWLtYo:
		$t_url = $row['url'];
		goto OK1YzYkt12;
		cuJgOZkgFt:
		E0jEp117Ad:
		$title = $row['bt'];
		goto BV38b_NvGy;
		cQ91z6hy_I:
		goto eUHen2RXZc;
		goto uq35iM76EB;
		fl7ssLM0pP:
		gBD340g2xk:
		goto QlhGrFXFGu;
		EMOYh0HjRI:
		goto ut6bQSDCtp;
		eUHen2RXZc:
		if ($conf['zdybt']) {
			goto CWUVBLp21Z;
		}
		goto YCMR5KUh03;
		CWUVBLp21Z:
		goto X1R7B0kytE;
		LYCDbNHqfe:
		OTzyfQLcUf:
		if ($rowhy['type'] <= 0x001 && 0 <= 0 && $rowhy['endtime'] <= $dateee) {
			goto l_87h32bhb;
		}
		goto Vy2gseI0zi;
		l_87h32bhb:
		$result = array('code' => -0x00003, 'msg' => '当前网址' . $t_url . '会员已到期！');
		goto OG1UyVeeyj;
		dKUCFSQxi3:
		goto JQwZAUNlz_;
		DvOrpHPlHG:
		$result = array('code' => -0x00003, 'msg' => '当前网址' . $t_url . '今日访问次数已上限！');
		JQwZAUNlz_:
		goto TlIVpkBHzB;
		goto klXUfIa_3k;
		OG1UyVeeyj:
		Vy2gseI0zi:
		ZQ2DOXRS4A:
		if ($rowhy['type'] != 0x001) {
			goto UjIEo6SoKd;
		}
		goto ov124gDI5e;
		UjIEo6SoKd:
		goto X0Jgwquats;
		p9dl6fZ3LR:
		goto w32Hwxclu1;
		vqzjUYYUBR:
		ov124gDI5e:
		exit(json_encode($result));
		goto VeESuTm1T7;
		goto Xfixef0cWn;
		VYqueBLneY:
		TUD3w25n9q:
		goto vqzjUYYUBR;
		kxeXFPNYQn:
		$uid = $_GET['i'];
		if ($uid == NULL) {
			goto GNkpdn26Ng;
		}
		goto JOK27rPQMk;
		JOK27rPQMk:
		goto OhExWTc9ZE;
		GNkpdn26Ng:
		$result = array('code' => -0x001, 'msg' => '请输入查识别码再执行！');
		OhExWTc9ZE:
		$row = $DB->get_row("\163\x65\154\x65\x63\x74\40\52\x20\146\x72\157\155\40\155\145\151\x68\145\137\162\145\x70\x6f\162\x74\x20\167\150\x65\x72\x65\40\165\x69\144\75\x27{$uid}\47\40\x6c\151\x6d\x69\164\x20\61");
		goto p9dl6fZ3LR;
		uq35iM76EB:
		djN5_4vnbo:
		if (empty($rowhy)) {
			goto kQhvURQgoY;
		}
		goto ED8Kk9M6Gd;
		kQhvURQgoY:
		$rowhy = $DB->get_row('SELECT * FROM meihe_list WHERE domain=\'' . get_host($domain) . '\' and `fhy`=\'2\' limit 1');
		goto Cg7aAr8zDX;
		Y3Q03VlhZa:
		goto OTzyfQLcUf;
		vcFvge2ic5:
		$thtime = date('Y-m-d', strtotime('-1 day')) . ' 00:00:00';
		$meihepvr = $DB->count('SELECT count(*) FROM meihe_log where domain=\'' . $domain . '\' and click_time>=\'' . $thtime . '\'');
		if ($meihepvr > $conf['day_pv']) {
			goto DvOrpHPlHG;
		}
		goto dKUCFSQxi3;
		Bp80L9LiwZ:
		$user_agent = $_SERVER['HTTP_USER_AGENT'];
		$rowhy = $DB->get_row('SELECT * FROM meihe_list WHERE domain=\'' . $domain . '\' limit 1');
		goto djN5_4vnbo;
		TlIVpkBHzB:
		$yesterday_time = date('Y-m-d', strtotime('-1 month')) . ' 00:00:00';
		goto gkfSkA1QRg;
		OK1YzYkt12:
		$rowhhy = $DB->get_row('SELECT * FROM meihe_list WHERE domain=\'' . $t_url . '\' limit 1');
		if (empty($rowhhy)) {
			goto L02_67SvEo;
		}
		goto ciusUP5qAv;
		L02_67SvEo:
		$rowhhy = $DB->get_row('SELECT * FROM meihe_list WHERE domain=\'' . get_host($t_url) . '\' and `fhy`=\'2\' limit 1');
		goto EMOYh0HjRI;
		gkfSkA1QRg:
		$meihepvy = $DB->count('SELECT count(*) FROM meihe_log where domain=\'' . $domain . '\' and and  click_time>=\'' . $yesterday_time . '\'');
		if ($meihepvy > $conf['month_pv']) {
			goto Rty0NELmq6;
		}
		goto TUD3w25n9q;
		Rty0NELmq6:
		$result = array('code' => -0x00003, 'msg' => '当前网址' . $t_url . '本月访问次数已上限！');
		goto VYqueBLneY;
		JQIYsq7SQM:
		Es7ANPXcdJ:
		$result = array('code' => -0x0002, 'msg' => 'uid不存在无法获取访问！');
		XVPmzECvJ_:
		$longurl = $t_url;
		goto UpgB27FlX0;
		goto LYCDbNHqfe;
		Cg7aAr8zDX:
		ED8Kk9M6Gd:
		$dateee = date('Y-m-d H:i:s');
		if ($rowhy['type'] == 0x001) {
			goto c81b753Sfv;
		}
		goto ZQ2DOXRS4A;
		c81b753Sfv:
		goto Y3Q03VlhZa;
		rQSYq0n5gA:
		BV38b_NvGy:
		$result = array('code' => 'ok', 'bt' => $title, 'keywords' => $conf['keywords'], 'description' => $conf['description'], 'url' => $t_url);
		goto P0_F2l0Gck;
		P0_F2l0Gck:
		goto XVPmzECvJ_;
		goto JQIYsq7SQM;
		X1R7B0kytE:
		$title = $conf['zdybt'];
		goto bM2ElJ9970;
		YCMR5KUh03:
		$info = file_get_contents($t_url);
		goto Qw_NsxlSDS;
		goto fl7ssLM0pP;
		Xfixef0cWn:
		goto gBD340g2xk;
		ut6bQSDCtp:
		ciusUP5qAv:
		if (!($rowhhy['type'] != 0x001)) {
			goto E0jEp117Ad;
		}
		goto cQ91z6hy_I;
		goto cuJgOZkgFt;
		QnHAojbVPB:
		goto kxeXFPNYQn;
		Qw_NsxlSDS:
		preg_match('|<title>(.*?)<\/title>|', $info, $m);
		$title = $m[0x001];
		bM2ElJ9970:
		goto rQSYq0n5gA;
		X0Jgwquats:
		goto vcFvge2ic5;
		UpgB27FlX0:
		$url_arr = parse_url($longurl);
		$domain = $url_arr['host'];
		$date = date('Y-m-d');
		goto Bp80L9LiwZ;
		QlhGrFXFGu:
	case 'dwzapi':
		goto iLxWLELP20;
		dvU1TeIZsL:
		LTOKjhOUxR:
		$DB->query('insert into `meihe_report` (`uid`,`url`) values (\'' . $uid . '\',\'' . $url . '\')');
		goto VcCkXtGDwZ;
		qJ8SVMG8JY:
		$url = 'http://' . $url;
		goto Yo5G811o8h;
		zK1owsFucP:
		goto OqSduKt1cQ;
		eftM1pZQe6:
		$myrow = $DB->get_row('select * from meihe_report where url=\'' . $url . '\' limit 1');
		if (!$myrow) {
			goto LTOKjhOUxR;
		}
		goto shk2X12F_o;
		goto dvU1TeIZsL;
		CoJ7JEbqdS:
		goto fpdbt1sJsg;
		AN1N3LQ__7:
		goto qJ8SVMG8JY;
		AQrWDe7XgJ:
		goto nMEdtr1er0;
		HOhM1DTsa_:
		goto VeESuTm1T7;
		goto AQrWDe7XgJ;
		tBaMNNsmjm:
		$uid = rand(0x002b67, 0x000001869f);
		if ($DB->query('insert into `meihe_report` (`title`,`url`,`duanl`,`scfl`,`upzid`,`uid`,`time`,`date`,`ip`,`reason`) values (\'' . $title . '\',\'' . $url . '\',\'' . $apihost['sbm'] . '\',\'3\',\'' . $userrow['zid'] . '\',\'' . $uid . '\',\'' . TIMESTAMP . '\',\'' . $date . '\',\'' . real_ip() . '\',\'本地短网址\')')) {
			goto eftM1pZQe6;
		}
		goto zK1owsFucP;
		Yo5G811o8h:
		fpdbt1sJsg:
		if (!strexists($url, '.')) {
			goto Yn6aANzz1a;
		}
		goto MZUfcL6yeF;
		Yn6aANzz1a:
		exit('请输入正确的域名');
		goto Saea31Fuo8;
		Saea31Fuo8:
		MZUfcL6yeF:
		goto tBaMNNsmjm;
		DKeomefdkc:
		$url = isset($_GET['url']) ? $_GET['url'] : $_POST['url'];
		if (!$url) {
			goto Ke1lcRcFPC;
		}
		goto UW4JkWOvgK;
		UW4JkWOvgK:
		goto ROpGNb7nky;
		Ke1lcRcFPC:
		exit('Url不能为空');
		ROpGNb7nky:
		if (!preg_match('/^http[s]?:\/\//', $url)) {
			goto AN1N3LQ__7;
		}
		goto CoJ7JEbqdS;
		iLxWLELP20:
		goto DKeomefdkc;
		VcCkXtGDwZ:
		shk2X12F_o:
		exit($conf['tbxy'] . $_SERVER['HTTP_HOST'] . '/api/s.php?' . $uid);
		OqSduKt1cQ:
		goto HOhM1DTsa_;
		nMEdtr1er0:
	default:
		exit('{"code":-4,"msg":"易航系统提醒你: No Act"}');
		goto VeESuTm1T7;
}
p0j_pjtaBR:
YiJV2uj2dX:
PEes_LqEhb:
VeESuTm1T7:
